<%-- 
    Document   : index
    Created on : 13-jun-2011, 19:27:15
    Author     : Administrador
--%>

<%@page import="Model.LogicaNegocio"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">



<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>UNMSM - FISI </title>
    </head>
    <body>
        <center>
        <h1>Elecciones Estudiantiles FISI 2011</h1>
      <form action="frontcontroller.do" method="post">
        <table border="1">
            <tr><td colspan="2" > <center>Ingreso al Sistema</center> </td></tr>
                <tr><td>Usuario</td><td><input type="text" name="user" value=""/></td></tr>
                <tr><td>Password</td><td><input type="password" name="password" value="" /></td></tr>
                <tr><td colspan="2"><input type="submit" value="Enviar"> </td></tr>
       </table>
      </form>
        
        <%
    //recibe los datos provenientes del controlador
    LogicaNegocio ln =(LogicaNegocio)request.getAttribute("ln");
    
%>
        
       <%if(ln!=null){
        ///muestra uno de los valores recibidos  
        %>
       <td><%=ln.getTotal()%></td>
       <% }%>
       
       
        </center>
    </body>
</html>
